package ws.jdbc.concurrent.driver.sqlserver;

import java.sql.SQLException;
import java.sql.Statement;
import ws.jdbc.concurrent.driver.sqlserver.tds.TDSMessage;
import static ws.jdbc.concurrent.driver.sqlserver.tds.rpc.StoredProcedures.*;

/**
 * Scrollable and updatable result set.
 * 
 * @author Wilson Santos, 36228 <wilson.santos@ua.pt>
 */
public class CResultSetScrollableUpdatable extends CResultSet {

  protected CResultSetScrollableUpdatable(final TDSMessage message, final Statement stmt, final String sql) throws SQLException {
    super(message, stmt, sql, SP_CURSOROPEN_SCROLLOPT_KEYSET, SP_CURSOROPEN_CCOPT_OPTIMISTIC);
    initUpdateValue();
  }
}
